package com.wn.carport.feign;

import com.wn.common.entity.MyRsp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @BelongsProject: shared_parking
 * @BelongsPackage: com.wn.carport.feign
 * @Author: 廖刚
 * @CreateTime: 2020-06-22 14:59
 * @Description:
 */
@FeignClient(value = "user")
public interface UserFeign {

    @PostMapping("getUserInfoBytoken")
    MyRsp getUserInfoBytoken(String token);

}
